package com.nami.message.core.mybatis.dataobject;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 群聊历史消息
 * </p>
 *
 * @author lbc
 * @since 2024-06-15
 */
@Data
@TableName("g_hismsgs")
public class GrpHisMsgsDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息id
     */
    private Long id;

    /**
     * appKey
     */
    private String appKey;

    /**
     * 会话id
     */
    private String converId;

    /**
     * converType
     */
    private Integer converType;

    /**
     * 发送者id
     */
    private String senderId;

    /**
     * 接收者id
     */
    private String receiverId;

    /**
     * 消息id
     */
    private String msgId;

    /**
     * 消息体
     */
    private String payload;

    /**
     * 消息类型
     */
    private String payloadType;

    /**
     * 发送时间
     */
    private Date sendTime;

    /**
     * sequence
     */
    private Long seq;


    private Integer memberCount;

    private Integer readCount;

    private Integer ifExt;

    private Integer ifExset;


    /**
     * 是否删除
     */
    @TableLogic
    private String delFlag;

}
